package com.ayf.payment.game.api.entity.ayb;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldNameConstants;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 爱游宝通道配置
 * @author lch
 * @date 2021/12/9
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "ayb_user_transfer_bind")
@FieldNameConstants
public class aybUserTransferBind implements Serializable {
    private static final long serialVersionUID = 1L;


    @Id
    @Column(name = "id")
    @GeneratedValue(generator = "JDBC")
    private Long id;

    /**
     * 商户id
     */
    @Column(name = "merchant_id")
    private Integer merchantId;

    /**
     * 爱游宝用户id
     */
    @Column(name = "ayb_id")
    private Long aybId;

    /**
     * 手机号
     */
    @Column(name = "phone")
    private String phone;

    /**
     * 昵称
     */
    @Column(name = "nick_name")
    private String nickName;

    /**
     * 公钥
     */
    @Column(name = "public_key")
    private String publicKey;


}